@import './base.css';

#app {
  margin: 0 auto;
  font-weight: normal;
}

a {
  text-decoration: none;
  color: var(--color-main);
  transition: 0.4s;
  padding: 3px;
}

a:hover {
  color: var(--color-main-hover);
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1 {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.8;
  text-shadow: 0 0 2cqb white;
}

h2 {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
  text-shadow: 0 0 20px white;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: bold;
}

/* 渐变背景 */
.gradient-card {
  background: linear-gradient(45deg, #FAF4E8 0%, #FAF4E8 100%);
  border-radius: 5px;
  padding: 2rem;
}

/* 充满整个背景 */
.full-bg {
  background-color: #f8f7f3;
  width: 100%;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.flex-row {
  display: flex;
  gap: 4rem;
}

/* 多屏幕适配 */
.body-m {
  max-width: 85%;
  margin: 0 auto;
}

@media (max-width: 650px) {
  :root {
    --nav-height: 60px;
  }

  html {
    font-weight: normal;
    font-size: 15px;
    line-height: 1.6;
  }

  h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  h2 {
    line-height: 1.2;
  }

  .body-m {
    max-width: 90vw;
    margin: 0 auto;
  }

  .flex-row {
    flex-direction: column;
    gap: 2rem;
  }
}

/* @media (min-width: 1000px) {
  .body-m {
    max-width: 85%;
    margin: 0 auto;
  }
} */

@media (min-width: 1400px) {
  .body-m {
    max-width: min(85%, 1300px);
    margin: 0 auto;
  }
}